Ext.define('TS.view.sale.SaleBillHistoryList' ,{
    extend: 'Ext.grid.Panel',
    alias : 'widget.salebillhistorylist',
    //title : '销售历史',
    columnLines: true,
    bodyPadding:0,
    //closable: true,
    autoScroll:true,
    padding : '0 0 0 0',
    store: 'sale.SaleBillHistoryStore',
    columns:[
            {header: '日期', dataIndex: 'billDate',width:70,renderer : Ext.util.Format.dateRenderer('Y-m-d')},
            {header: '数量', dataIndex: 'quantity',width:50},
            {header: '单价', dataIndex: 'price',width:50},
            {header: '批号', dataIndex: 'batchNo',width:80}
    ],
	initComponent:function(){
		this.callParent(arguments);
	}
});